<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

<s:if test="#session.loginedAsAdmin != 'true'">
    
    <s:form action="loginAsAdmin" method="post">
        <s:password label="Password" name="password"/>
        <s:submit value="Check"/>                
    </s:form>
    
</s:if><s:else>
    
    <p><a href="<s:url action="logoutAsAdmin"/>"><s:property value="%{getText('logout')}"/></a>
    <p>
    <p><a href="<s:url action="ListALLprofiles"/>"><s:property value="%{getText('allProfiles')}"/></a>
    <p><a href="<s:url action="ListALLevents"/>"><s:property value="%{getText('allEvents')}"/></a>
    
</s:else>
